package calvin.study.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Hello world!
 *
 */
@EnableAspectJAutoProxy(exposeProxy=true)
@SpringBootApplication
public class ApplicationRun {
	
	public static void main(String[] args) {
		//ConfigurableApplicationContext context =SpringApplication.run(ApplicationRun.class, args);
		//System.out.println(context.getBean("myFactoryBean"));
		SpringApplication.run(ApplicationRun.class, args);
	}
}
